package cz.idsv.web.mvc.model.service;

import java.util.Collection;

import org.springframework.dao.DataAccessException;

import cz.idsv.web.mvc.model.entity.ShopEntity;



/**
 * Shop Service interface.
 * 
 * @author Jan Borzensky
 */
public interface ShopService {

    /**
     * Find Shop.
     */
    public Collection<ShopEntity> findShop() throws DataAccessException;
    
    /**
     * Saves shop.
     */
    public void save(ShopEntity shopEntity);
    
    
    /**
     * Delete shop.
     */
    public void delete(ShopEntity shopEntity);
    
    /**
     * Find document by id.
     */
    public ShopEntity findShopById(Integer id) throws DataAccessException;
    /**
     * Find document by name.
     */
    public  Collection<ShopEntity>findShopByName(String name) throws DataAccessException;
    

}

